﻿//
// Created by 78786 on 2025/4/9.
//

#ifndef STRUCT_SERIALIZECOMM_TESTSERIALIZE_H
#define STRUCT_SERIALIZECOMM_TESTSERIALIZE_H
#include <iostream>
#include <vector>
#include <map>

//常见基础类型
class Object
{
public:
    std::string _name;
    int _age;
    double _height;
    bool _gender;
};

//继承
class Student : public Object
{
public:
    std::vector<std::string> _vecFriendsNames;
    std::map<int,std::string> _mapBankCards;
};

//组合
class Complex
{
public:
    std::vector<Student> _vecStudents;
    int _index;
};

#endif //STRUCT_SERIALIZECOMM_TESTSERIALIZE_H
